<script>
import buttonCom from "./components/button-com.vue";

export default {
  name: "App",
  // data必须是一个函数返回一个对象
  data() {
    return {
      message: "Vue",
    }
  },
  components: {
    buttonCom
  }
}
</script>
<template>
  <div id="app">
    {{ message }}
    <button-com></button-com>
  </div>
</template>
<style lang="less"></style>
